package com.zss.microservices.common.auth.details;

import lombok.AllArgsConstructor;
import lombok.Data;
import org.springframework.security.oauth2.provider.client.BaseClientDetails;

import java.io.Serializable;

/**
 * @author fuguozhang
 * @email fuguozhang@jyblife.com
 * @date 2019/12/16 18:33
 * 客户端应用信息
 */
@AllArgsConstructor
@Data
public class DefaultClientDetails extends BaseClientDetails implements Serializable {

    private static final long serialVersionUID = -4996423520248249518L;

    //限流标识
    private long if_limit ;

    //限流次数
    private long limit_count ;

    public DefaultClientDetails(String clientId, String resourceIds,
                                String scopes, String grantTypes, String authorities,
                                String redirectUris) {
        super(clientId,resourceIds,scopes,grantTypes,authorities,redirectUris);
    }
}
